package com.uzai.console.vo.sop.addfanchannel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@Data
@ApiModel("返回进粉渠道详情对象")
public class AddFanChannelVo {
    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("渠道名称")
    private String name;

    @ApiModelProperty("渠道描述")
    private String info;

    @ApiModelProperty("设备类型")
    private String deviceType;

    @ApiModelProperty("机器人唯一id列表")
    private String deviceUniqueIds;

    @ApiModelProperty("机器人唯一id列表")
    private List<Long> deviceUniqueIdList;

    @ApiModelProperty("来源列表")
    private List<Integer> sourceList;

    @ApiModelProperty("开始注册时间")
    private Integer regTimeStart;

    @ApiModelProperty("结束注册时间")
    private Integer regTimeEnd;

    @ApiModelProperty("粉丝成本（元/每个）")
    private Double price;

    @ApiModelProperty("添加时间")
    private Integer createTime;

    @ApiModelProperty("修改时间")
    private Integer updateTime;

    public Double getPrice() {
        if(price == null){
            price = 0.00D;
        }
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
